﻿

using BotDetector.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BotDetector.Tests.Generated
{
    [TestClass]
    public class DetectorNonbotTestWithTopicComputer
    {
        private static Detector detector;

        [ClassInitialize()]
        public static void ClassInit(TestContext context)
        {
            detector = new Detector();
        }

		        [TestMethod]
        public void TestForIndividualBotTextWithTopicComputer1()
        {
            double rez = detector.Classify("Microsoft Corp has launched its new line of Lumia smartphones that run on the company's latest operating system Windows 10 in India. The all-new Microsoft Lumia 950 and 950XL are priced at Rs 43,699 and Rs 49,399 respectively.");

            Assert.IsTrue((rez < 0.5), "Computer Test 1 failed");
        }
		        [TestMethod]
        public void TestForIndividualBotTextWithTopicComputer2()
        {
            double rez = detector.Classify("If there's one thing Reddit users are good at, it's coming up with clever tricks,  especially on computers. Recently a Redditor asked fellow users what computer tricks everyone should know.");

            Assert.IsTrue((rez < 0.5), "Computer Test 2 failed");
        }
		        [TestMethod]
        public void TestForIndividualBotTextWithTopicComputer3()
        {
            double rez = detector.Classify("IN NEW DELHI: Domestic handset maker Micromax has launched Canvas Pace 4G Q416 smartphone in India. The entry level smartphone is priced at Rs 6,821 and is currently available on eBay India.");

            Assert.IsTrue((rez < 0.5), "Computer Test 3 failed");
        }
		        [TestMethod]
        public void TestForIndividualBotTextWithTopicComputer4()
        {
            double rez = detector.Classify("It may have only been a workaround app made by a rogue developer, but when word broke that you could stream your PS4 games to PC via an unsanctioned app, gamers everywhere got a little bit excited.");

            Assert.IsTrue((rez < 0.5), "Computer Test 4 failed");
        }
			}
}